package org.lanqiao.ssm.common.core.dao;

import java.io.Serializable;
import java.util.List;

public interface BaseDAO<E, ID extends Serializable> {

	public	int deleteByPrimaryKey(ID id);

	public	int insert(E record);

	public	int insertSelective(E record);

	public	E selectByPrimaryKey(ID id);

	public int updateByPrimaryKeySelective(E record);

	public int updateByPrimaryKey(E record);

	public List<E> findObjectsByPage(E record);
}
